# Contributor: Dmitry Romanenko <dmitry@romanenko.in>
# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
pkgname=py3-python-gssapi
_pkgname=gssapi
pkgver=1.6.9
pkgrel=0
pkgdesc="A Python interface to RFC 2743/2744 (plus common extensions)"
url="https://github.com/pythongssapi/python-gssapi"
arch="all"
license="ISC"
depends="python3"
#checkdepends="py-nose py-shouldbe py-k5test" # Tests are missing alpine packages
makedepends="python3-dev krb5-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/g/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

#check() {
#	python3 setup.py test
#}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2fd60b93b255d1bb1ee677739b3f18af4faa370fc8208bba2acc08dea5426926d763d01abab500780256c34092961c56b5b9e4a594bfb2133580fedea6ca14b6  gssapi-1.6.9.tar.gz"
